package com.zc.microservice.user.core.api;

import com.zc.microservice.user.api.UserApi;
import com.zc.microservice.user.common.result.UserDetailResult;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 用户API
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/7/12 15:47
 */
@DubboService
public class UserApiImpl implements UserApi {

    @Override
    public UserDetailResult queryUserDetail(String id) {
        UserDetailResult result = new UserDetailResult();
        result.setAccount("zcj");
        result.setUserName("zcj");

        return result;
    }
}
